<%--
  Created by IntelliJ IDEA.
  User: 沈银
  Date: 2017/10/24
  Time: 22:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<head>
  <title>Title</title>
  <style>
    #hid{
      margin: 10px auto;
      text-align: center;
    }
  </style>
</head>
<body>
<h1 id="hid">城市数据</h1>
<form action="${pageContext.request.contextPath}/sakura/edit">
  <%--hidden--%>
  <input type="hidden" name="code" value="${c.code}">

  <table width="800px" style="margin: auto;text-align: right" border="0" cellspacing="0">
    <tr height="50px">
      <td>name：</td>
      <td align="left"><input type="text" name="name" value="${c.name}"></td>
    </tr>
    <tr height="50px">
      <td>region：</td>
      <td align="left"><input type="text" name="region" value="${c.region}"></td>
    </tr>
    <tr height="50px">
      <td>surfaceArea：</td>
      <td align="left"><input type="text" name="surfaceArea" value="${c.surfaceArea}"></td>
    </tr>

    <tr height="50px">
      <td  width="200ox">indepYear：</td>
      <td align="left"><input type="text" name="indepYear" value="${c.indepYear}"></td>
    </tr>
    <tr height="50px">
      <td>population：</td>
      <td align="left"><input type="text" name="population" value="${c.population}"></td>
    </tr>
    <tr height="50px">
      <td>lifeExpectancy：</td>
      <td align="left"><input type="text" name="lifeExpectancy" value="${c.lifeExpectancy}"></td>
    </tr>
    <tr height="50px">
      <td>gNP：</td>
      <td align="left"><input type="text" name="gNP" value="${c.gNP}"></td>
    </tr>

    <tr height="50px">
      <td>capital：</td>
      <td align="left"><input type="text" name="capital" value="${c.capital}"></td>
    </tr>
    <tr height="50px">
      <td>code2：</td>
      <td align="left"><input type="text" name="code2" value="${c.code2}"></td>
    </tr>

    <tr height="70px">
      <td> <input type="submit" value="提交"></td>
      <td align="left" style="padding-left: 30px"><input type="reset" value="重置"> </td>
    </tr>
  </table>
</form>
</body>
</html>
